/**
 * Created with JetBrains WebStorm.
 * User: Administrator
 * Date: 13-11-27
 * Time: 上午11:02
 * To change this template use File | Settings | File Templates.
 */
Ext.define("byb.store.system.AdmDepartmentType", {
    extend:"Ext.data.Store",
    model:'byb.model.system.AdmDepartmentType',
    autoLoad:false,
    proxy:{
        type:"ajax",
        api:{
        	read: byb.Constant.APIRoot + '/depType/queryByCompany'
        },
        reader:{
            type:"json",
            root:"results",
            successProperty:"success",
            totalProperty:"totalCount"
        }
    }
});
